package com.cash.loan.modular.cash.service;

import com.cash.loan.modular.cash.result.PageResult;
import com.cash.loan.modular.cash.transfer.UserVo;

import java.util.Date;

/**
 * @author Administrator
 * @Date 2018-07-13 8:46
 */
public interface CashUserService {

    /**
     * 得到用户分页列表
     * @param currentPage
     * @param pageSize
     * @param keyword
     * @param sDate
     * @param eDate
     * @return
     */
    PageResult<UserVo> getUserList(Integer currentPage, Integer pageSize, String keyword, Date sDate,Date eDate);

    /**
     * 将用户信息转成excel的byte数据
     * @param sDate
     * @param eDate
     * @return
     */
    String getUserInfoToExcel(Date sDate,Date eDate);

    /**
     * 删除用户
     * @param id
     * @return
     */
    Boolean deleteUser(Integer id);
}
